# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-languages
pkgver=0_git20210411
pkgrel=0
_commit="8e49483d35ec5593b3a19d025d817c58562d20c1"
pkgdesc="Set of config files describing the languages that are available on AsteroidOS"
url="https://github.com/AsteroidOS/supported-languages"
# armhf blocked by nemo-qml-plugin-calendar
arch="noarch"
license="CC0-1.0"
source="$pkgname-$_commit.tar.gz::https://github.com/AsteroidOS/supported-languages/archive/$_commit/supported-languages-$_commit.tar.gz
	"
options="!check" # No code to test
builddir="$srcdir/supported-languages-$_commit"

package() {
	echo $PWD
	find . -type f -name "*.conf" | while read -r i; do
		echo $i
		install -Dm644 $i "$pkgdir"/usr/share/jolla-supported-languages/$i
	done
}

sha512sums="26ada4b5c2b00c7771a80c887e11a3d3b0b109764c5fa448e0bb049e2414a77575d086e82b5b62a56b1b3b0747aa346cd27edbc501fbad8bb96d201dc4ed429d  asteroid-languages-8e49483d35ec5593b3a19d025d817c58562d20c1.tar.gz"
